package com.zsh.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zsh
 * @Description
 * @create 2022-01-23 14:51
 */

@Controller
public class TestController {

    /*@RequestMapping("/")
    public String index(){
        return "index";
    }*/

    @RequestMapping("/testView")
    public String testView(){
        return "test_view";
    }

    @RequestMapping("/testRest")
    public String testRest(){
        return "test_rest";
    }
}
